package com.suguowen.controller;

import com.suguowen.service.GMService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/gn")
public class GMController {

    @Autowired
    GMService gmService;

    @RequestMapping("/gmcommand")
    public void gmCommand(String args){
        gmService.reflect(args.trim());
    }
}
